/**Class represents a Tutor.
 * 
 * @author Kurt Micheli
 * @author Gabriel Rauter
 * @author Max Mulatz
 */
public class Tutor extends Person {
	
	private String id = "";
	
	/**Creates a Tutor out of an Student.
	 * 
	 * @param id The id of the Tutor.
	 * @param student The Studentobject
	 */
	public Tutor(String id, Student student) {
		super(student.getName(), student.getSurName());
		this.id = id;
	}
	
	
	/**Returns the id of an Tutor.
	 * 
	 * @return String id of Tutor
	 */
	public String getId() {
		return id;
	}
	
	/**Returns all information from a Tutor.
	 * 
	 * @return String all informations well formatted.
	 */	
	public String toString() {
		return this.getId()+" "+super.getName()+" "+super.getSurName();
	}
	
	
	
}
